package com.xiaoxi.feign.logserver;

import com.xiaoxi.common.response.ApiResponse;
import com.xiaoxi.domain.log.BMSLogLogin;
import com.xiaoxi.domain.log.BMSLogOperation;
import com.xiaoxi.domain.log.BMSLogRequest;
import org.aspectj.lang.JoinPoint;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.util.MultiValueMap;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author xiaoxi
 * @ProjectName springcloudbms
 * @PackageName com.xiaoxi.feign.logserver
 * @ClassName LogServer
 * @Description TODO
 * @Date 2023/2/13 21:58
 * @Version 1.0
 */
@FeignClient("log-server")
public interface LogServer {

    @PostMapping(value = "/log/api/v1/login/addLogLogin")
    ApiResponse addLogLogin(@RequestBody BMSLogLogin bmsLogLogin);

    @PostMapping(value = "/log/api/v1/operation/addLogOperation")
    ApiResponse addLogOperation(@RequestBody BMSLogOperation bmsLogOperation);

}
